﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BestEasyCMS.Service
{
    /// <summary>
    /// 用户状态
    /// </summary>
    public enum UserState
    {
        /// <summary>
        /// 正常
        /// </summary>
        Normal = 0,
        /// <summary>
        /// 用户名或密码错误
        /// </summary>
        UsernameOrPasswordIsWrong = 1,
        /// <summary>
        /// 用户已禁用
        /// </summary>
        Disable = 2,
        /// <summary>
        /// 用户不存在
        /// </summary>
        DoNotExist = 3
    }
    /// <summary>
    /// 资源类型
    /// </summary>
    public enum ResourceType
    {
        /// <summary>
        /// 菜单
        /// </summary>
        Menu = 1,
        /// <summary>
        /// 动作
        /// </summary>
        Action = 2
    }
}
